<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>

<style type="text/css">
	.badge-upload{
		background-color: #F44336;
		border-radius:6px;
		padding: 0px 4px 0px 4px;
	}
</style>
<!-- Main navbar -->
<div class="navbar navbar-inverse top-title-theme bg-primary" style="z-index:1000;">
		<div class="navbar-header" style="min-height:50px;">
			<a class="navbar-brand" href="#">
				<t:paramText paramName="sys_title" />
			</a>
			<ul class="nav navbar-nav visible-xs-block">
				<li><a data-toggle="collapse" data-target="#navbar-mobile"><i class="icon-tree5"></i></a></li>
				<li><a class="sidebar-mobile-main-toggle"><i class="icon-paragraph-justify3"></i></a></li>
			</ul>
		</div>

		<div class="navbar-collapse collapse" id="navbar-labels">
			<ul class="nav navbar-nav">
				<li>
					<a class="sidebar-control sidebar-main-toggle hidden-xs" href="#" style="padding-top: 18px;padding-bottom: 15px;">
						<i class="icon-paragraph-justify3"></i>
					</a>
				</li>
				<c:import url="notice.jsp" />
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<c:import url="upload.jsp" />
				<li>
					<a class="" target="main" href="<c:url value='/admin/file/fileCatalog/index' />" style="padding-top: 15px;padding-bottom: 15px;">
						<i class="icon-server"></i>
						文件柜
					</a>
				</li>
				<li class="dropdown">
					<a href="#" style="padding-top: 15px;padding-bottom: 15px;" class="dropdown-toggle" data-toggle="dropdown">
						<i class="icon-gear"></i>
						<span class="position-right">${sessionScope.session_account_info.loginName}</span>
						<span class="caret"></span>
					</a>
					<ul style="min-width:120px;" class="dropdown-menu dropdown-menu-right">
						<li class="text-left">
							<a href="javascript:personalInformation()"><i class="icon-user text-primary"></i>我的资料</a>
						</li>
						<li class="text-left">
							<a href="javascript:updatePwd()"><i class="icon-key text-warning"></i>修改密码</a>
						</li>
						<li class="text-left">
							<a href="<c:url value='/admin/home/logout' />"><i class="icon-exit text-danger"></i>退出</a>
						</li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
</div>
<!-- /main navbar -->

<script type="text/javascript">
function updatePwd(){
	top.openModal("/admin/superbase/employee/updatePwd","employee_form","修改密码",500,290);
}
function personalInformation(){
	top.openModal("/admin/superbase/employee/personalInformation","employee_form","个人资料",500,290);
}
</script>